package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.LogisticsCompanyDTO;
import com.itheima.pojo.LogisticsCompany;

public interface LogisticsCompanyService extends IService<LogisticsCompany> {

    Page<LogisticsCompanyDTO> getCompanyPage(Page<LogisticsCompanyDTO> page, LogisticsCompanyDTO dto);

    LogisticsCompanyDTO getCompanyWithPrices(Integer id);

    boolean saveCompany(LogisticsCompany company);

    boolean updateCompany(LogisticsCompany company);

    boolean deleteCompany(Integer id);
}